package utils;

import java.sql.Timestamp;
import model.User;

public class Comment {
	private int commentID;
	private int productID;
	private int userID;
	private String content;
	private Timestamp time;
	private User user;

	public Comment() {
		super();
	}
	
	public Comment(int commentID, int productID, int userID, String content,
			Timestamp time, User user) {
		super();
		this.commentID = commentID;
		this.productID = productID;
		this.userID = userID;
		this.content = content;
		this.time = time;
		this.user = user;
	}

	public int getCommentID() {
		return commentID;
	}

	public void setCommentID(int commentID) {
		this.commentID = commentID;
	}

	public int getProductID() {
		return productID;
	}

	public void setProductID(int productID) {
		this.productID = productID;
	}

	public int getUserID() {
		return userID;
	}

	public void setUserID(int userID) {
		this.userID = userID;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Timestamp getTime() {
		return time;
	}

	public void setTime(Timestamp time) {
		this.time = time;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

}
